.todoListWithHook {
  position: relative;
  width: 80%;
  height: 400px;
  overflow: auto;
  overflow-x: hidden;
  background: #eee;
  border: 1px solid #ccc;
  .title {
    display: flex;
    justify-content: space-between;
    padding: 0 65px 0 20px;
    div > span {
      margin: 0 0 0 15px
    }
  }
  .header {
    background: rgb(69, 150, 208);
    text-align: center;
    position: relative;
    height: 40px;
    line-height: 40px;
    color: #fff;
    .plusIcon {
      width: 40px;
      height: 40px;
      font-size: 30px;
      background: rgb(67, 12, 233);
      position: absolute;
      right: 0px;
      top: 0px;
      cursor: pointer;
    }
    .inputArea {
      width: 100%;
      height: 30px;
      right: -1px;
      display: none;
      position: absolute;
    }
    .show {
      display: block;
    }
    .input {
      width: 99%;
      height: 100%;
      position: absolute;
      right: 1px;
      top: 0px;
    }
    .addBtn {
      position: absolute;
      right: 5px;
      top: 5px;
      width: 40px;
      height: 24px;
    }
  }
  .itemList {
    .item {
      display: flex;
      align-items: center;
      height: 40px;
      border-bottom: 1px solid #ccc;
    }
    .label {
      cursor: pointer;
      display: block;
      width: 54%;
      text-overflow: ellipsis;
      overflow: hidden;
    }
    .checkbox {
      cursor: pointer;
      width: 10%;
    }
    .btn {
      width: 10%;
      margin: 0 1% 0 1%;
      cursor: pointer;
      color: #fff;
      border: none;
      height: 28px;
      line-height: 28px;
    }
    .view {
      background: blue;
    }
    .edit {
      background: green;
    }
    .del {
      background: red;
    }
  }
  .modal {
    position: absolute;
    width: 80%;
    height: 200px;
    margin-left: 10%;
    background: red;
    top: 100px;
    display: none;
    background: #ddd;
    .modalTitle {
      position: relative;
      height: 40px;
      line-height: 40px;
      text-align: center;
      background: rgb(69, 150, 208);
      color: #fff;
      .close {
        position: absolute;
        right: 0px;
        cursor: pointer;
        width: 30px;
      }
    }
    .modalContent {
      padding: 10px;
      height: calc(100% - 60px);
      position: relative;
    }
  }
  .isShowModal {
    display: block;
  }
  .innerContent {
    height: 100%;
    position: relative;
    .btn {
      background: rgb(69, 150, 208);
      width: 100%;
      height: 30px;
      color: #fff;
      border: none;
      position: absolute;
      bottom: 0px;
      right: 0px;
      cursor: pointer;
    }
    .textarea {
      width: 100%;
      height: 100px;
      background: #eee;
    }
  }
}